package edu.boun.g4.coursity.domain;

import java.io.Serializable;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * 
 * @author mertusta
 * @author bulutkorkmaz
 * 
 */
@Entity
@Table(name = "INSTRUCTOR")
public class Instructor implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "INSTRUCTOR_ID")
	@GeneratedValue
	private Integer instructorId;

	@Column(name = "INSTRUCTOR_NAME")
	private String instructorName;

	/*@ManyToMany
	private Set<Course> courses;
*/
	
	@Column(name = "INFO")
	private String info;

	public Instructor() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Integer getInstructorId() {
		return instructorId;
	}

	public void setInstructorId(Integer instructorId) {
		this.instructorId = instructorId;
	}

	public String getInstructorName() {
		return instructorName;
	}

	public void setInstructorName(String instructorName) {
		this.instructorName = instructorName;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}


}
